import axios from '../../utils/axios'

// 获取用户信息
export const teachInfo = (params: { }, method?: string) => {
    return axios({
        url: '/teach/info',
        method: method || 'get',
        headers: {
            'Content-Type': 'application/json; charset=UTF-8'
        },
        data: {
            ...params
        }
    })
}